<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>订单详细信息</title>
</head>
<body>
	<div> 
		<table>
			<c:forEach items="${orderList}" var="order">
				<tr> <td></td> <td></td> </tr>
				<tr> <td>始发地</td> <td>${order.start }</td> </tr>
				<tr> <td>目的地</td> <td>${order.end }</td> </tr>
				<tr> <td>发件人</td> <td>${order.addresser}</td> </tr>
				<tr> <td>发件人电话</td> <td>${order.addresserPhone}</td> </tr>
				<tr> <td>收件人</td> <td>${order.addressee}</td> </tr>
				<tr> <td>收件人电话</td> <td>${order.addresseePhone}</td> </tr>
				<tr> <td>重量</td> <td>${order.weight}</td> </tr>
				<tr> <td>距离</td> <td></td> </tr>
				<tr> <td>商品种类</td> <td>${order.cotegary}</td> </tr>
				<tr> <td>下单时间</td> <td>${order.time}</td> </tr>
				<tr> 
					<td><a href="${pageContext.request.contextPath }/addCompanyOrder.action?orderID=${order.orderID}">抢单</a></td> 
					<td><a href="">返回订单列表</a></td> 
				</tr>
			</c:forEach>
		</table>
	</div>
</body>
</html>